Dear Sir/Madam,

I am Ashish Mallah interested to apply for the Data Science/Machine Learning as requirement posted by you . I have herby attached my personal details and my resume for your reference.

Name - Ashish Ramjanam Mallah Qualification - Master of Computer Application(MCA Completed). Location - Mumbai(Kandivali East) Contact number - +918655765040 Attached - Resume

Hope to hear from you soon! Thanks & Regards

Links:- https://drive.google.com/file/d/1xQw33Gxvlhajpi5E74Z0RcSuKo6ZlrLx/view?usp=sharing

You are expected to scrape either smartphones, TVs and laptops (any one) product listings data and clean it for further processing.

Used one of the websites mentioned below:

Task1:- https://www.reliancedigital.in/smart-phones/c/S101711?searchQuery=Samsung

Task2:- https://www.bestbuy.com/site/samsung-tv-home-theater/samsung-tvs/pcmcat1482436089002.c?id=pcmcat1482436089002

Task3:- https://www.costco.co.uk/Computers/Laptops-MacBooks/c/cos_16.1

I am Selecting Task3:-

Step1: Install/Import the necessary libraries

Step2: Choose the data you need to extract

we will be scraping laptops from costco website. we are storing the link of the product in the variable link.

Step3: Send HTTP request to the URL of the page you want to scrape

We will use the requests library to send the requests http requests to the URL of the page mentioned in the above code and store the response in the page variable. It will give us the html content of the page which is used to scrape the required data from the page.

We can print the content of the page using the below code.

Now that we have got the HTML content of the page,we need to parse the data and store it in soup variable to structure it into different format which will help in data extraction. In the below output we can see the difference in the representation of the above data in different structures and format.

Step:4 Inspect the page and write codes for extraction

Extracting the Summary of the product

Extracting the Name of the product

Extracting the Image url of the product

Extracting the Price of the product

Extracting the Rating of the product

Extracting the link of the product

We have successfully got the Name, Rating, Other Specifications, and Price of a Laptops. Till now we have just extracted the data of one Laptops but now we need the data of all the Laptops available on the page so we will be run a loop and store the data in the defined lists.

First, defining the lists to store the value of each feature

Next, inspecting the tag where all the information is present and using it to extract all the features together. Here , all the laptop information is present in.

Storing the data into the structured format in the Data Frame.

Thank You...!!!!